import QtQuick 2.0

Item {
    anchors.fill: parent

    Rectangle {
        id: box
        objectName: 'box'
        width: 100
        height: 100
        x: 50; y: 50
        color: "#53d769"
        border.color: Qt.lighter(color, 1.1)
        Text {
            anchors.centerIn: parent
            text: Math.round(parent.x) + '/' + Math.round(parent.y)
        }
        MouseArea {
            anchors.fill: parent
            drag.target: parent
        }
    }
}
